#ifndef LOGGING_H
#define LOGGING_H

#include "tcpclient.h"
#include <QWidget>
class QMessageBox;
QT_BEGIN_NAMESPACE
namespace Ui {
class Logging;
}
QT_END_NAMESPACE

class Logging : public QWidget {
    Q_OBJECT

public:
    Logging(QWidget *parent = nullptr);
    ~Logging();

private slots:

    void on_pushBtn_logging_clicked();
    void CmdHandler(json msg);

    void on_pushBtn_register_clicked();

private:
    Ui::Logging *ui;
    TcpClient *t;
    QMessageBox *msgBox;
    void Init();
};
#endif // LOGGING_H
